﻿using System;
using System.ServiceModel;
using WcfTest.Core.Services;
using WcfTest.Core.Services.Impl;

namespace WcfTest.ConsoleHost
{
	class Program
	{
		static void Main()
		{
			var serviceHost = new ServiceHost(typeof(TalkingService));
			serviceHost.Open();

			Console.WriteLine("Press <Enter> to terminate");
			Console.ReadLine();

			serviceHost.Close();
		}
	}
}
